package org.example.service.impl;

import org.example.mapper.AdvertisementMapper;
import org.example.service.AdvertisementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdvertisementServiceImpl implements AdvertisementService {

    @Autowired
    private AdvertisementMapper advertisementMapper;

    @Override
    public String advertisement(Integer position) {

        return advertisementMapper.advertisement(position);

    }
}
